/**
 * 全局组件注册
 */
import BaseBreadcrumb from './base/BaseBreadcrumb.vue'
import BaseFormItem from './base/form-item/BaseFormItem.vue'
import BaseTable from './base/table/BaseTable.vue'
import BaseUpload from './base/base-upload/BaseUpload.vue'
import BaseMenu from './base/menu/BaseMenu.vue'
import BaseDrawer from './base/base-drawer/BaseDrawer.vue'
import BaseSpin from './base/BaseSpin.vue'
export default {
  install(app: any) {
    // 表单项
    app.component(BaseFormItem.__name, BaseFormItem)
    // 表格
    app.component(BaseTable.__name, BaseTable)
    // 上传
    app.component(BaseUpload.__name, BaseUpload)
    // 抽屉
    app.component(BaseDrawer.__name, BaseDrawer)
    // 面包屑
    app.component(BaseBreadcrumb.__name, BaseBreadcrumb)
    // 菜单
    app.component(BaseMenu.__name, BaseMenu)
    // 加载中
    app.component(BaseSpin.__name, BaseSpin)
  },
}
